/* 头部 */

.header {
    height: 163px;
    background: #ffffff;
    border: 1px solid #000;
}

.header .container {
    margin-top: 45px;
    /* margin-bottom: 35px; */

    display: flex;
    /* justify-content: space-between; */
    align-items: center;

}


.header .container h2 {
    font-size: 30px;
    margin-right: 119px;
    color: #43200c;

}

.header .container .one {
    margin-left: 30px;
    margin-right: 27px;
}

.header .container .center {
    position: relative;


}

.header .container input {
    width: 480px;
    height: 50px;
    margin-right: 45px;
    border-radius: 50px;
    padding-left: 50px;
    background-image: url(../images/搜索.jpg);
    background-repeat: no-repeat;
    background-position-x: 12px;
    background-position-y: 15px;
    /* 复合属性怎么写的 */
    /* background:url(../images/搜索.jpg) no-repeat (repeat-x 12px,repeat-y 15px);  */
}

.header .container input ::placeholder {
    font-size: 15px;
    color: #757575;
}

.header .container button {
    width: 122px;
    height: 50px;
    border-radius: 40px;
    background: yellow;
    position: absolute;
    left: 413px;
    top: 3px;
}

/* 导航 */
.nav {
    height: 45px;
    background: #43240c;
}

.nav .container ul {
    display: flex;
    height: 45px;
    line-height: 45px;


}

.nav .container ul li {
    width: 220px;
    text-align: center;
    border: 1px solid #000;
    cursor: pointer;
}

.nav .container ul li a {
    text-decoration: none;
    color: white;
}



.nav .container ul li:hover {
    background: #fee44e;

}
/*
.nav .container ul a:hover {
    background: #fee44e;
    color: black;

} */
.active {
    background: #fee44e !important;
}

/* 轮播区 */

.blaner {
    height: 370px;
    background: #f6f6f6;
}

.blaner .container {
    display: flex;
    background: #fcf9e3;
    justify-content: space-between;

}

.blaner .container ul {
    width: 220px;
    height: 370px;
    background: #fcf9e3;
}

.blaner .container ul li {
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.blaner .container ul li a {
    color: #43200c;
    font-size: 15px;
}

.blaner .container ul li:hover {
    background: #ffffff;
}

/* //中间 */
.blaner .container .swiper {
    width: 670px;
    height: 235px;
    background: pink;
    margin-left: 8px;
}

.blaner .container .swiper img {
    width: 100%;
    height: 100%;
}

/* 下边 */
.down {
    height: 130px;
    width: 670px;
    margin-left: 8px;
    display: flex;
    justify-content: space-between;
    margin-top: 10px;

}

.down .cool {
    height: 100px !important;
    width: 295px !important;
    padding-top: 30px;
    padding-left: 30px;
    background: #fcbccf;
    display: flex;
    cursor: pointer;


}

.down .cool p:nth-child(1) {
    color: white;
    font-size: 25px;

}

.down .cool p:nth-child(2) {
    color: white;
    font-size: 20px;
    margin-top: 7px;
    margin-bottom: 10px;

}

.down .cool button {
    width: 50px;
    height: 20px;
    border-radius: 10px;
    color: #fcbccf;

}

.down .cool .r img {
    margin-left: 59px;
}

.down .coupons {
    height: 100px !important;
    width: 295px !important;
    background: #ffd8ae;
    padding-top: 30px;
    padding-left: 30px;
    display: flex;
    cursor: pointer;


}

.down .coupons p:nth-child(1) {
    color: white;
    font-size: 25px;

}

.down .coupons p:nth-child(2) {
    color: white;
    font-size: 20px;
    margin-top: 7px;
    margin-bottom: 10px;

}

.down .coupons button {
    width: 50px;
    height: 20px;
    border-radius: 10px;
    color: #fcbccf;

}

.down .coupons .r img {
    margin-left: 59px;
}

/* 右边 */
.blaner .container .rigth {
    width: 295px;
    height: 370px;
    background: white;
}

.blaner .container .rigth .pic {


    margin-top: 10px;
    background: #000;
}

/* 小编精选 */
.select {
    height: 58px;
}

.select .container {
    height: 58px;

    display: flex;
    align-items: center;
}

.select .container p:nth-child(1) {
    margin-left: 52px;
    margin-right: 35px;
    font-size: 18px;
    color: #43240c;
}

.select .container p:nth-child(2) {
    color: #877a73;
    font-size: 12px;

}

/* 动态渲染 */
.list .container .show div:nth-child(2) {
    width: 240px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;


}

.list .container .show {
    margin-bottom: 10px;
}

.list .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.list .container .show div:nth-child(3) {
    margin-top: 20px;
    margin-bottom: 18px;
    margin-left: 20px;

}

.list .container .show div:nth-child(2) {
    margin-top: 12px;
    margin-bottom: 18px;
    margin-left: 20px;

}

.list .container .show .price span:nth-child(1) {
    color: red;
    margin-left: 20px;
    margin-right: 8px;

}

.list .container .show .price span:nth-child(2) {
    color: #877a73;
    font-size: 14px;
    margin-right: 72px;
}

.list .container .show .price span:nth-child(3) {
    font-size: 12px;
    border: 1px solid red;
    width: 100px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    color: red;



}

.list .container .show .platform span:nth-child(1) {
    width: 40px;
    height: 20px;
    background: red;
    font-size: 14px;
    color: #ffffff;
    line-height: 20px;
    text-align: center;
}

.list .container .show .platform span:nth-child(2) {
    font-size: 12px;
    color: #877a73;

}

.list .container .show .platform {
    width: 240px;
    display: flex;
    justify-content: space-between;
}


/* 加载更多 */
.btn {
    width: 200px;
    margin: 0 auto;
}

.btn button {
    width: 200px;
    height: 80px;
    text-align: center;
    line-height: 80px;
    border-radius: 40px;
    color: yellow;
    font-size: 20px;
    background: rgb(163, 163, 6);
    cursor: pointer;
    border: none;

}

/* 回到顶部 */
.back {
width: 80px;
position: fixed;
right: 30px;
bottom: 50px;
}

.back button{
    width: 80px;
    height: 80px;
    background: rgba(253, 253, 18, 0.3);
    border-radius: 50%;
    border: none;
    color: blue;
    cursor: pointer;
}